package com.youme.model

import com.google.gson.annotations.SerializedName

/**
 * Time:4/11/21 2:07 PM
 * Author:
 * Description:
 */
data class FriendCircleDetail(
    @SerializedName("id") val id: String,
    @SerializedName("createTime") val createTime: String,
    @SerializedName("userId") val userId: String,
    @SerializedName("userName") val userName: String,
    @SerializedName("title") val title: String,
    @SerializedName("content") val content: String,
    @SerializedName("picture") val picture: String,
    @SerializedName("location") val location: String,
    @SerializedName("avatar") val avatar: String,
    @SerializedName("status") val status: Int,
    @SerializedName("isDelete") val isDelete: Int,
    @SerializedName("params") val params: DetailParams
)

data class DetailParams(
    @SerializedName("looked") val looked: String,
    @SerializedName("commented") val commented: String,
    @SerializedName("liked") val liked: String,
    @SerializedName("commentList") val commentList: List<Comment>
)

data class Comment(
    @SerializedName("id") val id: String,
    @SerializedName("userName") val userName: String,
    @SerializedName("content") val content: String,
    @SerializedName("createTime") val createTime: String
)

//{
//    "id": "b1adeefc-1f70-4f61-a181-8773435ac43a",
//    "userName": "admin",
//    "postId": null,
//    "pid": null,
//    "replyUserName": null,
//    "content": "1111",
//    "createTime": "2021-03-30 16:14:48",
//    "sonList": []
//}
//"params": {
//    "commentList": [],
//    "looked": "25",
//    "commented": "0",
//    "liked": "0"
//}